home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / utilit~1 / flut39st.zoo / fileutils-3.9 / man / dd.1 < prev    next >
Encoding:
Text File  |  1994-03-26  |  3.2 KB  |  129 lines

  1.  
  2.  
  3.  
  4. DD(1L)                               DD(1L)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        dd - convert a file while copying it
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        d✓dd✓d  [--help]  [--version]  [if=file] [of=file] [ibs=bytes]
  12.        [obs=bytes]    [bs=bytes]    [cbs=bytes]        [skip=blocks]
  13.        [seek=blocks]                   [count=blocks]
  14.        [conv={ascii,ebcdic,ibm,block,unblock,lcase,ucase,swab,noerror,notrunc,
  15.        sync}]
  16.  
  17. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  18.        This  manual  page  documents  the  GNU version of d✓dd✓d.  d✓dd✓d
  19.        copies a    file (from the standard     input    to  the     standard
  20.        output,    by  default)  with  a  user-selectable blocksize,
  21.        while optionally    performing conversions on it.
  22.  
  23.    O✓OP✓PT✓TI✓IO✓ON✓NS✓S
  24.        Numbers can be followed by a multiplier:
  25.        b=512, c=1, k=1024, w=2,    xm=number m
  26.  
  27.        _✓-_✓-_✓h_✓e_✓l_✓p Print a usage message on standard    output    and  exit
  28.           successfully.
  29.  
  30.        _✓-_✓-_✓v_✓e_✓r_✓s_✓i_✓o_✓n
  31.           Print  version  information on standard output then
  32.           exit successfully.
  33.  
  34.        _✓i_✓f_✓=_✓f_✓i_✓l_✓e
  35.           Read from    _✓f_✓i_✓l_✓e instead of    the standard input.
  36.  
  37.        _✓o_✓f_✓=_✓f_✓i_✓l_✓e
  38.           Write to    _✓f_✓i_✓l_✓e  instead  of  the    standard  output.
  39.           Unless  _✓c_✓o_✓n_✓v_✓=_✓n_✓o_✓t_✓r_✓u_✓n_✓c is given, truncate _✓f_✓i_✓l_✓e to the
  40.           size specified by    _✓s_✓e_✓e_✓k_✓= (0 bytes if  _✓s_✓e_✓e_✓k_✓=  is  not
  41.           given).
  42.  
  43.        _✓i_✓b_✓s_✓=_✓b_✓y_✓t_✓e_✓s
  44.           Read _✓b_✓y_✓t_✓e_✓s bytes at a time.
  45.  
  46.        _✓o_✓b_✓s_✓=_✓b_✓y_✓t_✓e_✓s
  47.           Write _✓b_✓y_✓t_✓e_✓s bytes    at a time.
  48.  
  49.        _✓b_✓s_✓=_✓b_✓y_✓t_✓e_✓s
  50.           Read  and    write _✓b_✓y_✓t_✓e_✓s bytes at atime.  Override ibs
  51.           and obs.
  52.  
  53.        _✓c_✓b_✓s_✓=_✓b_✓y_✓t_✓e_✓s
  54.           Convert _✓b_✓y_✓t_✓e_✓s bytes at a time.
  55.  
  56.        _✓s_✓k_✓i_✓p_✓=_✓b_✓l_✓o_✓c_✓k_✓s
  57.           Skip _✓b_✓l_✓o_✓c_✓k_✓s ibs-sized blocks at start of input.
  58.  
  59.        _✓s_✓e_✓e_✓k_✓=_✓b_✓l_✓o_✓c_✓k_✓s
  60.           Skip _✓b_✓l_✓o_✓c_✓k_✓s obs-sized blocks at start of output.
  61.  
  62.  
  63.  
  64. FSF            GNU File Utilities            1
  65.  
  66.  
  67.  
  68. DD(1L)                               DD(1L)
  69.  
  70.  
  71.        _✓c_✓o_✓u_✓n_✓t_✓=_✓b_✓l_✓o_✓c_✓k_✓s
  72.           Copy only    _✓b_✓l_✓o_✓c_✓k_✓s ibs-sized input blocks.
  73.  
  74.        _✓c_✓o_✓n_✓v_✓=_✓c_✓o_✓n_✓v_✓e_✓r_✓s_✓i_✓o_✓n_✓[_✓,_✓c_✓o_✓n_✓v_✓e_✓r_✓s_✓i_✓o_✓n_✓._✓._✓._✓]
  75.           Convert the file as  specified  by  the  _✓c_✓o_✓n_✓v_✓e_✓r_✓s_✓i_✓o_✓n
  76.           arguments.
  77.           Conversions:
  78.  
  79.           ascii  Convert EBCDIC to ASCII.
  80.  
  81.           ebcdic Convert ASCII to EBCDIC.
  82.  
  83.           ibm    Convert ASCII to alternate    EBCDIC.
  84.  
  85.           block  Pad  newline-terminated  records  to size of
  86.              cbs, replacing newline with trailing spaces.
  87.  
  88.           unblock
  89.              Replace  trailing    spaces in cbs-sized block
  90.              with newline.
  91.  
  92.           lcase  Change uppercase characters to lowercase.
  93.  
  94.           ucase  Change lowercase characters to uppercase.
  95.  
  96.           swab   Swap every    pair of    input bytes.  Unlike  the
  97.              Unix  dd,    this  works when an odd    number of
  98.              bytes are read.  If the input file     contains
  99.              an     odd  number  of  bytes, the last byte is
  100.              simply copied (since  there  is  nothing  to
  101.              swap it with).
  102.  
  103.           noerror
  104.              Continue after read errors.
  105.  
  106.           notrunc
  107.              Do    not truncate the output    file.
  108.  
  109.           sync   Pad  every     input    block to size of ibs with
  110.              trailing NULs.
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128. FSF            GNU File Utilities            2
  129.